<?php
/**
 * 单页模块
 * 
 + ----------------------------------------------------- 
 * Date 2013-3-8
 + -----------------------------------------------------
 */
class SimpleAction extends BaseAction {
	
	public function index(){
		$mid=isset($_GET['mid']) ? intval($_GET['mid']) : '';
		
		$this->assign('gundong',$this->getArticle(15,34,'',1));
		$this->assign('luyan',$this->getArticle(3,27,'',1));
		$this->assign('shipin_top',$this->getArticle(1,26,'',0,1));
		$this->assign('shipin',$this->getArticle(7,26,'',1));
		
		$model=M('Menu');
		$simple=$model->find($mid);
		$this->assign('simple',$simple);
		$this->display();
	}
	
}
?>
